package com.ruoyi.common.enums.member;

import lombok.Getter;

@Getter
public enum MemberErrorCode {

    NO_TOKEN("MEMBER.00101", "无token，请登录"),
    TOKEN_INVALID("MEMBER.00102", "token无效"),
    LOGIN_EXPIRED("MEMBER.00103", "登录过期，请重新登录"),
    ;

    private final String code;
    private final String msg;

    MemberErrorCode(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

}
